#ifndef __THREAD_POOL_H__
#define __THREAD_POOL_H__

class Thread;   //<类型引入

#include <vector>
class ThreadPool {
private:
    std::vector<Thread*> m_pool;
    int m_numberOfThread;
public:
    ThreadPool(int numberOfThread);
    ~ThreadPool();

    int GetNumberOfThread() const;

    int GetSubThreadSocketPairFirst() const;  
    //通过轮询算法，简单的实现对线程池的负载均衡
};



#endif